<template>
  <div class="mine">
      <div class="top" >
        <router-link :to="{ name: 'Home' }"
          ><i class="fa fa-home"></i
        ></router-link>
        <span>周边商场</span>
        <router-link :to="{ name: 'Login' }"
          ><i class="fa fa-user"></i
        ></router-link>
      </div>
    <img src="../assets/img/logo.jpg" alt="" class="avatar" />
    <span>你是傻*</span>
    <span>积分:999999</span>
    <button>签到</button>
    <router-link class="nav-link" :to="{ name: 'Receiving' }"
      >收货地址<i class="fa fa-angle-right"></i
    ></router-link>
    <router-link class="nav-link" :to="{ name: 'ModifyPWD' }"
      >修改密码<i class="fa fa-angle-right"></i
    ></router-link>
    <router-link class="nav-link" :to="{ name: 'ModifyInfo' }"
      >个人信息<i class="fa fa-angle-right"></i
    ></router-link>
    <button class="logout">退出登录</button>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},

  methods: {},
  created() {},
  mounted() {},
};
</script>
<style scoped>
.mine {
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.avatar {
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
}
.top~span {
  margin-top: 16px;
}
.nav-link {
  width: 80%;
  border: solid 1px gainsboro;
  padding: 4px 8px;
}
.nav-link i {
  float: right;
}
.logout {
  position: fixed;
  bottom: 100px;
  width: 30vw;
  background-color: salmon;
}
button {
  display: block;
  padding: 8px;
  width: 80%;
  margin: 8px auto;
  border: none;
  background-color: deeppink;
  color: white;
}
.top {
  margin-bottom: 80px;
  width: 100%;
  height: 1.5rem;
  background-color: deeppink;
  color: white;
  display: flex;
  /* justify-content: center; */
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 0 10px ;
}
.top span {
  flex: 1;
  text-align: center;
}
.top a {
  color: white;
}
</style>